package com.jn.okhttps_demo01.model;

public class HotSearchItem {
    String title;
    int index;
    String hotValue;
    String link;

    // 构造函数，Gson需要
    public HotSearchItem() {}

    // 带参数的构造函数
    public HotSearchItem(String title, int index, String hotValue, String link) {
        this.title = title;
        this.index = index;
        this.hotValue = hotValue;
        this.link = link;
    }

    // Getter和Setter
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getHotValue() {
        return hotValue;
    }

    public void setHotValue(String hotValue) {
        this.hotValue = hotValue;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }
}